package liwen.zhao.service;

import liwen.zhao.common.jd.pojo.CommonUser;
import liwen.zhao.common.jd.utils.VerifyCode;
import liwen.zhao.common.jd.vo.SysResult;

public interface UserService {
    CommonUser findCommonUserByName(String userName);
    
    SysResult adminLogin(String userName, String psw, String action);
    
    SysResult getUser(String cookieV);
    
    void saveValiCode(String valiCodeId, VerifyCode verifyCode);
    
    String getValiCode(String valiCodeId);
    
    void addUser(CommonUser commonUser);
    
    CommonUser getCommonUserByUserName(String userName);
    
    String saveFrontUser(CommonUser commonUser);
    
    SysResult getCommonUserByCookie(String cookieV);
}
